// while 循环

#[test]
fn learn01() {
    let mut num:i32 = 5;

    while num > 0 {
        num -= 1;
        println!("{}", num)
    }

}